package com.neo.push.server.connection;

import com.neo.push.server.SafetyMessageTask;
import io.netty.util.Timeout;

import java.util.concurrent.TimeUnit;

/**
 * Created by lock on 17-7-13.
 */
public interface SafetyMessageTimer {



    Timeout addTask(SafetyMessageTask task, long delay, TimeUnit unit);


    Timeout removeTimeout(String messageId);


}
